package com.hongye.broker.feign;

import com.hongye.common.entity.CustomerEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("findhouse-customer")

public interface CustomerFeignService {



    @RequestMapping("/customer/findById")
    public CustomerEntity findById(@RequestParam("id") int id);

}
